package com.hxzy.module.admin.api.role.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @Author wy
 * @Description TODO
 * @Date 2024/1/31 13:58
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(value = "角色模型")
public class AdminRoleResp {

    @ApiModelProperty("角色Id")
    private String roleId;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String roleDescription;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("状态 true启用 false 禁用")
    private Boolean state;

    @ApiModelProperty("所属门店id")
    private Long storeId;
}
